module.exports = {
  //路径前缀
  publicPath: "./",
  lintOnSave: true,
  productionSourceMap: false,
  chainWebpack: config => {
    config
      .plugin('html')
      .tap(args => {
        args[0].title= '发货信息管理'
        return args
      })
  },
  devServer: {
    port: 1888,
    proxy: {
      "/api": {
       // target: "http://172.16.100.59/", 
       target: "http://192.168.5.31/", 
        ws: true,
        pathRewrite: {
          "^/api": "/"
        }
      }
    }
  }
};
